package khleuven.mondzorg.db.writers;

public class OfflineSourceWriterFactory {

	public static OfflineSourceWriter createOfflineSourceWriter(OfflineSourceWritingType type){
		OfflineSourceWriter writer = null;
		switch(type){
		case GENERAL:
			writer = new OfflineSourceWriterGeneral();
			break;
		case INCREMENTAL:
			writer = new OfflineSourceWriterIncremental();
			break;
		default:
			break;
		}
		return writer;
	}
}
